<include file="application/admin/view/public/left.html"/>
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>提现记录</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3>提现记录</h3>
    <div class="filter">
    <form action="{:U('Pay/withdraw_list')}" method="post">
   
     &nbsp;用户账号:&nbsp;<input class="inpMain" placeholder="用户账号" name="account" value="{$account}" id=""  type="text">
     <input name="submit" class="btnGray" type="submit" value="搜索" />
    </form> 
    </div>
        <div id="list">
    <form name="action" method="post" action="product.php?rec=action">
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
    <tr>
        <th style="text-align:center;">用户账号</th>
        <th style="text-align:center;">提现金额</th>
        <th style="text-align:center;">手续费</th>
        <th style="text-align:center;">提现类型</th>
        <th style="text-align:center;">提现卡号</th>
        <th style="text-align:center;">状态</th>
        <th style="text-align:center;">提现时间</th>
        <th style="text-align:center;">操作</th>
    </tr>
    <volist name="list" id="vo" empty="$empty">
                        <tr style="text-align:center";>
                            <td>{$vo.account}</td>
                            <td>{$vo.num}</td>
                            <td>{$vo.fee}</td>
                            <td>
                                <if condition="$vo.type eq 1">
                                    <span class="pending" style="color:#00DD00;">
                                        银行卡
                                    </span>
                                </if>
                                <if condition="$vo.type eq 2">
                                    <span class="pending" style="color:#00DD00;">
                                        支付宝
                                    </span>
                                </if>
                            </td>
                            <td>
                                 <if condition="$vo.type eq 1">
                                    开户人：{$vo.kaihuren}，开户地址：{$vo.kaihu_address}，银行卡号：{$vo.bank_card}
                                </if>
                                <if condition="$vo.type eq 2">
                                    支付宝：{$vo.zhifubao}
                                </if>
                            </td>

                             <td>
                                 <if condition="$vo.status eq 0">
                                    等待审核
                                </if> 
                                <if condition="$vo.status eq -1">
                                    未通过
                                </if>
                                <if condition="$vo.status eq 2">
                                    通过审核
                                </if>  

                             </td>
                            <td>{$vo.add_time|date="Y-m-d H:i:s",###}</td>
                            <td>
                            <eq name="vo.status" value="0">
                            <a href="{:U('Pay/withdraw_pass',array('id'=>$vo['id']))}" onclick="return confirm('确认审核通过吗？')">[审核通过]</a>
                            
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="{:U('Pay/withdraw_no_pass',array('id'=>$vo['id']))}" onclick="return confirm('确认审核驳回吗？')">[审核驳回]</a>
                            </eq>
                            <neq name="vo.status" value="0">
                            审核完成</neq></td>
                        </tr>
                        </volist>
    </table>
    </form>
    </div>
    <div class="clear"></div>
    <div class="pager">
        <ul>{$page}</ul>
    </div>
    </div>
 </div>
 <div class="clear"></div>
<include file="application/admin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
<script type="text/javascript">

onload = function()
{
 document.forms['action'].reset();
}

function douAction()
{
 var frm = document.forms['action'];
 frm.elements['new_cat_id'].style.display = frm.elements['action'].value == 'category_move' ? '' : 'none';
}

</script>
</body>
</html>
